const {ccclass, property} = cc._decorator;

@ccclass
export default class platform extends cc.Component {

    private top:cc.Node;
  
    onLoad () {
        this.top = this.node.getChildByName("top");

        this.top.width = this.node.width/5;
    }

    start () {

    }

    // update (dt) {}
}
